package com.java.demo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SericeDemo {
    @Autowired
    private RepositoryDemo repository;

    public UserDemo getUser() {
        return repository.getUser();
    }
}
